<template>
    <div id="app">
        <span @click="fn"> 〈 </span>
        <p>电影演出</p>
    </div>
</template>

<script>
export default {
name:"Whead",
methods:{
    fn(){
      this.$router.go(-1);
    }
}
}
</script>

<style scoped>
#app{
    height: 0.8rem;
    background-color: beige;

   position: relative;
}
#app span{
    width: 50%;
    text-align: center;
    font-size: 0.2rem;
    /* color: #fff; */
    text-align: center;
    line-height: 0.8rem;
    padding: 0.2rem
}
#app p{
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.2rem;
    /* color: #fff; */
}
</style>
